﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LRS.DAL;
using LRS.DTO;
namespace LRS.BLL
{
    public static class bSupplier
    {
        public static eSupplier GetSupplierByID(int SupplierID)
        {
            return dSupplier.GetSupplierByID(SupplierID);
        }
        public static List<eSupplier> GetSuppliers()
        {
            return dSupplier.GetSuppliers();
        }
        public static void Insert(eSupplier supplier)
        {
            dSupplier.InsertSupplier(supplier);
        }
        public static void Update(eSupplier supplier)
        {
            dSupplier.UpdateSupplier(supplier);
        }
        public static void DeleteSupplierByID(int SupplierID)
        {
            dSupplier.DeleteSupplierByID(SupplierID);
        }
    }
}
